<% content_for :css do %>
  <%= stylesheet_link_tag 'valleyer/base'  %>
  <%= stylesheet_link_tag 'valleyer/exercise/exerciseBase'  %>
  <%= stylesheet_link_tag 'valleyer/exercise/oldExercise'  %>
<% end %>

<div id="center">
			<div class="header">
				<div class="logo">活动频道</div>
			</div>
			<div class="left">
				<div class="title"><p>往期活动</p><a href="javascript:;">正在进行的活动</a></div>
				<div class="mainstay">
					
					<div class="line">
                                          <% @meets.each do |meet| %>
						<div class="monomer">
							<div class="picture"><%= image_tag('valleyer/oldExercise_picture.jpg') %></div>
							<div class="name"><a href="javascript:;"><%=h meet.name %></a></div>
							<div class="time">2009年12月24日-2009年12月31日</div>
						</div>
                                          <% end %>
					</div>
					
				</div>
			</div>
			<div class="right">
				<div class="myExercise">
					<div class="title">我参加的活动</div>
					<div class="mainstay">
						<div class="picture"><%= image_tag('valleyer/exercise_picture.jpg') %></div>
						<div class="content"><a href="javascript:;">第一届大学生最喜爱的品牌调查活动</a></div>
						<div class="time">还有46天结束</div>
					</div>
				</div>
				<div class="oldExercise">
					<div class="title"><p>我参加的往期活动</p><a href="javascript:;">更多</a></div>
					<div class="mainstay">
						<div class="picture"><%= image_tag('valleyer/exercise_picture.jpg') %></div>
						<div class="content"><a href="javascript:;">第一届大学生最喜爱的品牌调查活动</a></div>
					</div>
				</div>
			</div>
		</div>
